/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package carrello.impl.boundary.administrator;

import carrello.impl.boundary.AbstractUI;
import carrello.impl.controller.administrator.DeleteProductCTRL;

/**
 *
 * @author Usman
 */
public class DeleteProductUI extends AbstractUI{
    private int productid;
    public void setproductid ( int id ) {
        productid = id;
    }
    @Override
    public String execute () {
        DeleteProductCTRL.deleteProduct (productid);
        return SUCCESS;
    }
}
